﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Model.ViewModels
{
    public class MenuViewModel
    {
        private string _path = "";
        public string code { get; set; }
        public string name { get; set; }
        public string path {
            get { return _path; }
            set {
                _path = value.Replace(".aspx", "");
            }
        }
        public int  action{ get; set; }
        public int module { get; set; } //父级Id
        public int num { get; set; }//序号
        public string rolename { get; set; }
    }
}
